package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 分销订单对象 shanglala_fx_order
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class FxOrder
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer fxOrderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String fxOrderNo;

    /** 交易单号 */
    @Excel(name = "交易单号")
    private String fxTradeNo;

    /** 买家id */
    @Excel(name = "买家id")
    private Long uid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String sessionId;

    /** 主订单id */
    @Excel(name = "主订单id")
    private Long orderId;

    /** 主订单号 */
    @Excel(name = "主订单号")
    private String orderNo;

    /** 供货商id */
    @Excel(name = "供货商id")
    private Long supplierId;

    /** 分销商id */
    @Excel(name = "分销商id")
    private Long storeId;

    /** 运费 */
    @Excel(name = "运费")
    private BigDecimal postage;

    /** 商品总价 */
    @Excel(name = "商品总价")
    private BigDecimal subTotal;

    /** 商品成本总价 */
    @Excel(name = "商品成本总价")
    private BigDecimal costSubTotal;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer quantity;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal total;

    /** 成本总额 */
    @Excel(name = "成本总额")
    private BigDecimal costTotal;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer status;

    /** 下单时间 */
    @Excel(name = "下单时间")
    private Long addTime;

    /** 付款时间 */
    @Excel(name = "付款时间")
    private Long paidTime;

    /** 供货商发货时间 */
    @Excel(name = "供货商发货时间")
    private Long supplierSentTime;

    /** 交易完成时间 */
    @Excel(name = "交易完成时间")
    private Long complateTime;

    /** 收货人 */
    @Excel(name = "收货人")
    private String deliveryUser;

    /** 收货人电话 */
    @Excel(name = "收货人电话")
    private String deliveryTel;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String deliveryAddress;

    /** 用户订单id,统一分销订单 */
    @Excel(name = "用户订单id,统一分销订单")
    private Long userOrderId;

    /** 供货商 */
    @Excel(name = "供货商")
    private String suppliers;

    /** 分销运费 */
    @Excel(name = "分销运费")
    private String fxPostage;

    public void setFxOrderId(Integer fxOrderId) 
    {
        this.fxOrderId = fxOrderId;
    }

    public Integer getFxOrderId() 
    {
        return fxOrderId;
    }
    public void setFxOrderNo(String fxOrderNo) 
    {
        this.fxOrderNo = fxOrderNo;
    }

    public String getFxOrderNo() 
    {
        return fxOrderNo;
    }
    public void setFxTradeNo(String fxTradeNo) 
    {
        this.fxTradeNo = fxTradeNo;
    }

    public String getFxTradeNo() 
    {
        return fxTradeNo;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setSessionId(String sessionId) 
    {
        this.sessionId = sessionId;
    }

    public String getSessionId() 
    {
        return sessionId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setPostage(BigDecimal postage) 
    {
        this.postage = postage;
    }

    public BigDecimal getPostage() 
    {
        return postage;
    }
    public void setSubTotal(BigDecimal subTotal) 
    {
        this.subTotal = subTotal;
    }

    public BigDecimal getSubTotal() 
    {
        return subTotal;
    }
    public void setCostSubTotal(BigDecimal costSubTotal) 
    {
        this.costSubTotal = costSubTotal;
    }

    public BigDecimal getCostSubTotal() 
    {
        return costSubTotal;
    }
    public void setQuantity(Integer quantity) 
    {
        this.quantity = quantity;
    }

    public Integer getQuantity() 
    {
        return quantity;
    }
    public void setTotal(BigDecimal total) 
    {
        this.total = total;
    }

    public BigDecimal getTotal() 
    {
        return total;
    }
    public void setCostTotal(BigDecimal costTotal) 
    {
        this.costTotal = costTotal;
    }

    public BigDecimal getCostTotal() 
    {
        return costTotal;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAddTime(Long addTime) 
    {
        this.addTime = addTime;
    }

    public Long getAddTime() 
    {
        return addTime;
    }
    public void setPaidTime(Long paidTime) 
    {
        this.paidTime = paidTime;
    }

    public Long getPaidTime() 
    {
        return paidTime;
    }
    public void setSupplierSentTime(Long supplierSentTime) 
    {
        this.supplierSentTime = supplierSentTime;
    }

    public Long getSupplierSentTime() 
    {
        return supplierSentTime;
    }
    public void setComplateTime(Long complateTime) 
    {
        this.complateTime = complateTime;
    }

    public Long getComplateTime() 
    {
        return complateTime;
    }
    public void setDeliveryUser(String deliveryUser) 
    {
        this.deliveryUser = deliveryUser;
    }

    public String getDeliveryUser() 
    {
        return deliveryUser;
    }
    public void setDeliveryTel(String deliveryTel) 
    {
        this.deliveryTel = deliveryTel;
    }

    public String getDeliveryTel() 
    {
        return deliveryTel;
    }
    public void setDeliveryAddress(String deliveryAddress) 
    {
        this.deliveryAddress = deliveryAddress;
    }

    public String getDeliveryAddress() 
    {
        return deliveryAddress;
    }
    public void setUserOrderId(Long userOrderId) 
    {
        this.userOrderId = userOrderId;
    }

    public Long getUserOrderId() 
    {
        return userOrderId;
    }
    public void setSuppliers(String suppliers) 
    {
        this.suppliers = suppliers;
    }

    public String getSuppliers() 
    {
        return suppliers;
    }
    public void setFxPostage(String fxPostage) 
    {
        this.fxPostage = fxPostage;
    }

    public String getFxPostage() 
    {
        return fxPostage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fxOrderId", getFxOrderId())
            .append("fxOrderNo", getFxOrderNo())
            .append("fxTradeNo", getFxTradeNo())
            .append("uid", getUid())
            .append("sessionId", getSessionId())
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("supplierId", getSupplierId())
            .append("storeId", getStoreId())
            .append("postage", getPostage())
            .append("subTotal", getSubTotal())
            .append("costSubTotal", getCostSubTotal())
            .append("quantity", getQuantity())
            .append("total", getTotal())
            .append("costTotal", getCostTotal())
            .append("status", getStatus())
            .append("addTime", getAddTime())
            .append("paidTime", getPaidTime())
            .append("supplierSentTime", getSupplierSentTime())
            .append("complateTime", getComplateTime())
            .append("deliveryUser", getDeliveryUser())
            .append("deliveryTel", getDeliveryTel())
            .append("deliveryAddress", getDeliveryAddress())
            .append("userOrderId", getUserOrderId())
            .append("suppliers", getSuppliers())
            .append("fxPostage", getFxPostage())
            .toString();
    }
}
